<template>
  <div id="app" class="app">
    <!-- <transition :name="directionClass"> -->
      <router-view/>
    <!-- </transition> -->
  </div>
</template>

<script>
import { mapGetters, mapActions } from "vuex";
import apis from "@/apis";
export default {
  name: "App",
  data() {
    return {
    };
  },
  computed: {
    ...mapGetters(['direction']),
    // 动画方向
    directionClass() {
      return this.direction === "forward" ? "mint-pop-in" : "mint-pop-out";
    }
  },
  mounted() {
  },
  methods: {
    ...mapActions(["updateTest"])
  }
};
</script>
<style lang="scss">
@import './styles/index.scss';
body * {
    box-sizing: border-box;
}
html,body,.app{
  height: 100%;
  width: 100%;
}
</style>
